/**
 * Language.java
 * 
 * Created On: Nov 20, 2008
 * Created By: ## CHANGE IN JAVA->CODE STYLE->CODE TEMPLATES->New Java Files
 *
 * Copyright (C) 2008 University of Wisconsin Platteville - ResNet
 *
 * All rights are reserved to the University of Wisconsin Platteville
 */

package model;

public enum Language
{
	EN ( "en", "English" ),
	DE ( "de", "German" );
	
	private String languageCode;
	private String languageName;
	
	private Language( String languageCode, String languageName )
	{
		this.languageCode = languageCode;
		this.languageName = languageName;
	}
	
	public String getLanguageCode()
	{
		return languageCode;
	}
	
	public String getLanguageName()
	{
		return languageName;
	}

	@Override
	public String toString()
	{
		return languageName;
	}
}
